package com.bicntech.system.dto;

import com.bicntech.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class InfieldVehicleEquipmentInspectDTO extends BaseEntity {
    private static final long serialVersionUID = 5776416183625069373L;

    private Long id;

    /**
     * 检查单编号
     */
    private String code;


    /**
     * 检查单id
     */
    private Long type;


    /**
     * 检查日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime inspectDate;

    /**
     * 适用车型
     */
    private String applicableModels;


    /**
     * 车号
     */
    private String wagonNumber;


    /**
     * 编写人
     */
    private String preparedBy;


    /**
     * 审核
     */
    private String toExamine;


    /**
     * 批准
     */
    private String approval;


    /**
     * 检查项
     */
    private List<InfieldInspectDataDTO> inspectTerm;


    /**
     * 备注
     */
    private String remarks;


    /**
     * 车辆摩托小时
     */
    private BigDecimal vehicleMotorcycleHours;


    /**
     * 补加油量
     */
    private BigDecimal refuelingVolume;


    /**
     * 检查人签名
     */
    private String signatureOfInspector;

    /**
     * 异常项
     */
    private String isAbnormal;

    /**
     * 版本号
     */
    private Integer version;

}
